package com.zjp.mg.core;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.query.Query;
import org.springframework.data.mongodb.core.query.Update;

@Getter
@Setter
public class UpdateCondition {
    private Update update;

    private Query query;

    public UpdateCondition(Query query, Update update) {
        this.query = query;
        this.update = update;
    }
}
